import {View} from "@tarojs/components";
import React from "react";
import {getOrderStatusStyle, OrderStatus} from "@/common/enums";
import {Cell, CellGroup} from "@antmjs/vantui";

export  function StatementItem(pros) {
  const item = pros.item
  const orderStausInfo = getOrderStatusStyle(OrderStatus.PENDING)

  return (
    <View style={{marginTop: '10px'}}>
      <CellGroup inset>
        <Cell title='订单编号：KPL-250329-19-HQ' value={orderStausInfo.text} titleStyle={{fontSize: '12px'}}
              style={{'--cell-value-color': orderStausInfo.color}}
        />
        <Cell title='单位' value='陕西顾尚测控技术有限公司' />
        <Cell title='姓名' value='黄琴' />
        <Cell title='电话' value='199887777' />
        <Cell title='对账日期' value='2025-04-03 17:37' />
      </CellGroup>
    </View>
  )
}
